<html>

	<head>
		<title></title>
		<title>智管家－专注快消品行业服务商</title>
		<link rel="bookmark" type="image/x-icon" href="http://qiniudns01.zhelan.net/favicon.ico" />
		<link rel="shortcut icon" href="http://qiniudns01.zhelan.net/favicon.ico" type="image/x-icon">
		<meta charset="utf-8">
		<meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0" />
		<meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
		<meta http-equiv="Cache-Control" content="no-cache,must-revalidate" />

		<link href="../../css/skin/default/style.css" rel="stylesheet" type="text/css" />
		<link href="../../js/lib/ligerUI/skins/Aqua/css/ligerui-all.css" rel="stylesheet" type="text/css" />

		<script src="../../js/lib/jquery/jquery-1.5.2.min.js" type="text/javascript"></script>
		<script src="../../js/lib/ligerUI/js/ligerui.all.js" type="text/javascript"></script>
		<script src="../../js/lib/ligerUI/js/plugins/ligerForm.js" type="text/javascript"></script>
		<script src="../../js/lib/jquery.form.js" type="text/javascript"></script>
		<script src="../../js/api.js" type="text/javascript"></script>
		<script type="text/javascript">
			var row;
			$(function() {
				$("form").ligerForm();
				row = JSON.parse(unescape($api.getparastr("data")));
				if(row)
					$("#Name").val(row.Fname);
			});

			function f_save() {
				if(!$("#Name").val()) {
					alert("名称不能为空！");
					return null;
				}
				if(row) {
					return {
						"Fname": $("#Name").val(),
						"Fid": row.Fid
					}
				} else return {
					"Fname": $("#Name").val(),
					"Fid": 0
				}

			}
		</script>
	</head>

	<body>
		<form id="form1" onsubmit="return false">
			<div>
				<table style="width: 320px;" class='bodytable'>
					<tr>
						<td width="65px" align="right">
							相册名称 </td>
						<td>
							<input type="text" id="Name" name="Name" ltype="text" ligerui="{width:180}" validate="{required:true}" placeholder="请输入相册名称" />

						</td>
					</tr>

				</table>
			</div>
		</form>
	</body>

</html>